Skip to content

plugin: don't try to pickle the exceptions thrown by blocking_activity#1814

Merged
gtristan merged 2 commits into
masterfrom
abderrahim/blocking-activity
Feb 17, 2023
Merged

plugin: don't try to pickle the exceptions thrown by blocking_activity#1814
gtristan merged 2 commits into
masterfrom
abderrahim/blocking-activity

Conversation

@abderrahim

Copy link
Copy Markdown
Contributor

No description provided.

@nanonyme

nanonyme commented Jan 21, 2023

Copy link
Copy Markdown
Contributor

@abderrahim we could send exception class and args, then reconstruct exception on other side without stack trace.

@nanonyme

Copy link
Copy Markdown
Contributor

But this is certainly an improvement already.

While this is technically an API break, the old promise of raising the error
in the calling process never worked.
Don't rely on the ability to get pickled exceptions from blocking_activity
as that doesn't seem to work with any supported python version.

May help with #1766
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants